//
//  ByLotteryAlgorithmHandle.h
//  caipiao_ios
//
//  Created by mc on 2018/7/13.
//  Copyright © 2018年 ZhangZhanbin. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ByLotteryAlgorithmHandle : NSObject

//初始化数据
+ (NSMutableArray *)getOriginalDataWithCount:(NSInteger)count;

//已选数组
+ (NSMutableArray *)getSelectedDataWithArray:(NSArray *)array;

//机选选中数据
+ (NSMutableArray *)getRandomSelectedDataWithCount:(NSInteger)count selectedCount:(NSInteger)selectedCount color:(UIColor *)color;

//机选所有数据
+ (NSMutableArray *)getRandomAllDataWithCount:(NSInteger)count selectedCount:(NSInteger)selectedCount;

//机选大乐透
+ (NSMutableArray *)getRandomSuperSelectedData;

//机选大乐透 红球 篮球分开
+ (NSMutableArray *)getRandomSuperSelectedDataTwoArray;

//机选大乐透 红球 篮球分开
+ (NSMutableArray *)getRandomDoubleBallSelectedDataTwoArray;

//机选双色球
+ (NSMutableArray *)getRandomDoubleBallSelectedData;

//注数计算
+ (NSInteger)getCountWithSelectedData:(NSMutableArray *)selectedAry leastNumber:(NSInteger)number;


//机选所有数据 
+ (NSMutableArray *)getRandomAllDataWithCount:(NSInteger)count oneSelectedCount:(NSInteger)selectedCount anotherSelectedCount:(NSInteger )anotherCount;

//获取数字彩票 单号num 字符串
+ (NSMutableArray *)getNumArrayWithDataArray:(NSMutableArray *)dataArray;

//获取双色球 单号num 字符串
+ (NSMutableArray *)getColorBallNumArrayWithDataArray:(NSMutableArray *)dataArray;

//由num 获取Model
+ (NSMutableArray *)getModelsArrayWithNumString:(NSString *)num;

//得到单注彩票
+ (NSMutableArray *)getSingleLotteryWithArray:(NSMutableArray *)array;

+ (NSMutableArray *)getModelsArrayWithArray:(NSArray *)array WithColor:(UIColor *)color;


@end
